package com.william.yun.yunliwuli.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.william.yun.yunliwuli.service.CoreService;
import com.william.yun.yunliwuli.service.StoreService;

public class StoreServiceImpl extends CoreService implements StoreService {
    @Override
    public JSONObject postStoreQuery(JSONObject body, String token) {
        return postJsonResult(body, token, STORE_URL);
    }

    /**
     * 添加门店
     *
     * @param body
     * @param token
     * @return
     */
    @Override
    public JSONObject postStoreAdd(JSONObject body, String token) {
        return postJsonResult(body, token, STORE_ADD_URL);
    }
}
